<template >
    <div class="demo">
        <h1 class="title" >学生姓名:{{name}}</h1>
        <h1 class="jj">学生性别:{{sex}}</h1>
    </div>
</template>

<script>
export default {
    name:'Student',
    data() {
        return {
            name:'JJ',
            sex: '男'
        }
    }
   }
</script>

<style scoped lang="less">
.demo{
    background-color: rgb(45, 37, 23);
    .jj{
        font-size: 50px;
    }
}
</style>
